
<%@ page import="javax.swing.*" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/30 0030
  Time: 13:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登出</title>
</head>
<body>
<%
    Cookie[] cookies=request.getCookies();
    for(Cookie c:cookies){
        if("isControl".equals(c.getName())){
//            JOptionPane.showMessageDialog(null,c.getValue()+" "+c.getName());
            c.setMaxAge(0);
            response.addCookie(c);
        }
    }
    response.sendRedirect("Login.jsp");
%>
</body>
</html>
